//mongoose node 的驱动程序
const mongoose = require("mongoose");

const schema = new mongoose.Schema({
    title: String,// 总类型名称
    // ref 来源
    parentId:{type:"ObjectId",ref:"types"},
});

mongoose.model("labels", schema, "labels");